<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		
	</body>
	<script type="text/javascript">
		//uncaught 未捕获
		var a = 0;
		
		try{
			if(a==0) throw "a=0";//	=> Uncaught 111
			//遇到抛错语句时,如果不对抛错的语句做处理的话,会停止接下来语句的执行
		}catch(e){
			console.log("抛出的错误信息是："+e);
		}
		
		if(a==0){
			throw func();//抛出的异常可以是
		}
		function func(){
			console.log("1");
			return false;
		}
	</script>
</html>